package com.zmm.zebulon.module.member.biz.convert.social;

import com.zmm.zebulon.module.member.biz.controller.app.social.vo.AppSocialUserBindReqVO;
import com.zmm.zebulon.module.member.biz.controller.app.social.vo.AppSocialUserUnbindReqVO;
import com.zmm.zebulon.module.system.api.social.dto.SocialUserBindReqDTO;
import com.zmm.zebulon.module.system.api.social.dto.SocialUserUnbindReqDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * description: 社交用户 Convert
 *
 * @author zebulon
 * package com.zmm.zebulon.module.member.biz.convert.social
 * name: SocialUserConvert
 * date 2024/1/10 21:42
 */
@Mapper
public interface SocialUserConvert {

    SocialUserConvert INSTANCE = Mappers.getMapper(SocialUserConvert.class);

    SocialUserBindReqDTO convert(Long userId, Integer userType, AppSocialUserBindReqVO reqVO);

    SocialUserUnbindReqDTO convert(Long userId, Integer userType, AppSocialUserUnbindReqVO reqVO);

}
